# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')

class FT_8181:
    result=[]

    def LogicAisle(self, protocolStr, header):
        str_len=str(int(protocolStr[0:4],16))
        header.append("自定义消息体长度："+str_len+'\n')
        time_8181=protocolStr[4:16]
        c = 0
        t = time_8181[c:c + 2]
        header.append("授时时间："+t)
        c = c + 2
        for i in range(5):
            t = time_8181[c:c + 2]
            header.append("-" + t)
            c = c + 2
        header.append('\n')
        self.result=header
